package tk.mybatis.springboot.wexin.bean;

import java.io.Serializable;

import tk.mybatis.springboot.wexin.enums.WechatMessageTypeEnum;

/**
 * 与微信交互的业务bean
 * @title:WeChatMessageBean
 * @form:Mr_xing
 * @author Administrator
 * @date 2017年3月13日 下午5:13:12
 */
public class WeChatMessageBean implements Serializable {

	private static final long serialVersionUID = -3030057764813775327L;
	/** 接收方账号 */
	private String ToUserName;
	//开发者微信号
	private String FromUserName;
	//消息创建时间 （整型）
	private String CreateTime;
	//消息类型
	private WechatMessageTypeEnum MsgType;
	//	回复的消息内容（换行：在content中能够换行，微信客户端就支持换行显示）
	private String Content;
	//通过素材管理接口上传多媒体文件，得到的id。
	private String MediaId;
	//多媒体消息的标题
	private String Title;
	//多媒体消息的描述
	private String Description;
	//多媒体的缩略图
	private String ThumbMediaId;
	//音乐链接
	private String MusicURL;
	//高质量的的音乐
	private String HQMusicUrl;

	public String getToUserName() {
		return ToUserName;
	}

	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}

	public String getFromUserName() {
		return FromUserName;
	}

	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}

	public String getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}

	public WechatMessageTypeEnum getMsgType() {
		return MsgType;
	}

	public void setMsgType(WechatMessageTypeEnum msgType) {
		MsgType = msgType;
	}

	public String getContent() {
		return Content;
	}

	public void setContent(String content) {
		Content = content;
	}

	public String getMediaId() {
		return MediaId;
	}

	public void setMediaId(String mediaId) {
		MediaId = mediaId;
	}

	public String getTitle() {
		return Title;
	}

	public void setTitle(String title) {
		Title = title;
	}

	public String getDescription() {
		return Description;
	}

	public void setDescription(String description) {
		Description = description;
	}

	public String getThumbMediaId() {
		return ThumbMediaId;
	}

	public void setThumbMediaId(String thumbMediaId) {
		ThumbMediaId = thumbMediaId;
	}

	public String getMusicURL() {
		return MusicURL;
	}

	public void setMusicURL(String musicURL) {
		MusicURL = musicURL;
	}

	public String getHQMusicUrl() {
		return HQMusicUrl;
	}

	public void setHQMusicUrl(String hQMusicUrl) {
		HQMusicUrl = hQMusicUrl;
	}

	public WeChatMessageBean() {
		super();
	}

	/** 发送/回复一个消息 */
	public WeChatMessageBean(String toUserName, String fromUserName, String createTime, WechatMessageTypeEnum msgType, String content, String mediaId) {
		super();
		ToUserName = toUserName;
		FromUserName = fromUserName;
		CreateTime = createTime;
		MsgType = msgType;
		Content = content;
		MediaId = mediaId;
	}

}
